﻿@page
@{ Layout = "_LayoutApp"; }
<el-card class="z-2 rounded-0">
    <el-form v-on:submit.native.prevent ref="form" :model="form" status-icon label-width="88px" label-position="left">
        <el-form-item label="账号">
            {{ user.userName }}
        </el-form-item>
        <el-form-item label="密码" prop="password" :rules="[{ required: true, message: '请输入密码' }]">
            <el-input v-model="form.password" type="password" name="password" autocomplete="off"></el-input>
        </el-form-item>
        <el-form-item label="确认密码" prop="confirmPassword" :rules="[{ required: true, message: '请输入确认密码' }, { validator: validatePass }]">
            <el-input v-model="form.confirmPassword" type="password" name="confirmPassword" autocomplete="off"></el-input>
        </el-form-item>
    </el-form>
</el-card>

<div class="py-8"></div>
<div style="position:fixed;left:0;bottom:0;width:100%;" class="text-center mb-5 animate__animated animate__fadeInUp">
    <el-button-group class="rounded-0">
        <el-button class="rounded-0" icon="el-icon-check" type="primary" v-on:click="btnSubmitClick">保 存</el-button>
        <el-button class="rounded-0" v-on:click="utils.closeLayerSelf" icon="el-icon-back">返 回</el-button>
    </el-button-group>
</div>
@section Scripts{
<script src="/sitefiles/assets/js/app/password.js" type="text/javascript"></script> }